package com.syni.mdd.sjb.common.datatreaure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.DxshAppMinappInfo;
import com.syni.mdd.sjb.common.datatreaure.entity.vo.rq.saasminapp.BindGroupRqVo;
import com.syni.mdd.sjb.common.datatreaure.entity.vo.rq.saasminapp.SaveGroupInfoVo;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcc
 * @since 2020-10-22
 */
public interface DxshAppMinappInfoService extends IService<DxshAppMinappInfo> {

    Map<String,Object> saveMinappInfo(SaveGroupInfoVo saveGroupInfoVo);

    Map<String,Object> cancelRelation(SaveGroupInfoVo saveGroupInfoVo);

    Map<String,Object> cancelOperate(SaveGroupInfoVo saveGroupInfoVo);

    Map<String,Object> quitBusinessGroup(SaveGroupInfoVo saveGroupInfoVo);

    Map<String,Object> cancelOrConfirmNews(SaveGroupInfoVo saveGroupInfoVo);

    Map<String,Object> clickQuitBtn(Integer newsId);

    Map<String,Object> dividedNews(SaveGroupInfoVo saveGroupInfoVo);

    Map<String,Object> confirmDivided(SaveGroupInfoVo saveGroupInfoVo);

    Map<String,Object> getGroupInfo(SaveGroupInfoVo saveGroupInfoVo);

    Map<String,Object> bindGroup(BindGroupRqVo bindGroupRqVo);

    DxshAppMinappInfo findByStoreId(String storeId);

    void syncDxshMinAppInfos(List<DxshAppMinappInfo> dxshAppMinappInfos);

    Map<String,DxshAppMinappInfo> getMapByStoreIds(Set<String> storeIds);
}
